﻿namespace XSTDZ.ERP.Domain.Repositories
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Common;
    using System.Data.Entity;
    using System.Data.Entity.ModelConfiguration;
    using System.Data.Entity.Infrastructure;
    using XSTDZ.ERP.Domain.Models;

    internal partial class RemittanceRecord_Mapping : EntityTypeConfiguration<RemittanceRecord>
    {
        public RemittanceRecord_Mapping()
        {					
    		this.HasKey(t => t.Id);
            this.ToTable("T_FI_RemittanceRecord");
            this.Property(t => t.Id).HasColumnName("RemittanceRecordID");
            this.Property(t => t.OrgID).HasColumnName("OrgID");
            this.Property(t => t.RemittancePeoperId).HasColumnName("RemittancePeoper");
            this.Property(t => t.RemittanceTime).HasColumnName("RemittanceTime");
            this.Property(t => t.RemittanceBank).HasColumnName("RemittanceBank");
            this.Property(t => t.RemittanceNumber).HasColumnName("RemittanceNumber");
            this.Property(t => t.BillState).HasColumnName("BillState");
            this.Property(t => t.Deleted).HasColumnName("Deleted");
            this.Property(t => t.CreateID).HasColumnName("CreateID");
            this.Property(t => t.CreateTime).HasColumnName("CreateTime");
            this.Property(t => t.UpdateID).HasColumnName("UpdateID");
            this.Property(t => t.UpdateDate).HasColumnName("UpdateDate");
            this.Property(t => t.Remarks).HasColumnName("Remarks");
            this.Property(t => t.RemittanceMoney).HasColumnName("RemittanceMoney"); 
            this.Property(t => t.AffimDate).HasColumnName("AffimDate");
            this.Property(t => t.AffimorID).HasColumnName("AffimorID");
            this.Property(t => t.AffimState).HasColumnName("AffimState");
           
    	}
    }
}
